package com.woniu.presell.service;

import com.woniu.common.util.Result;
import com.woniu.presell.entity.Check;
import com.woniu.presell.entity.Proposer;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("house-register")
public interface IProposerService {
    @PostMapping("/Proposers/padd")
    int proposerAdd(@RequestBody Proposer proposer);
    @PostMapping("/Checks/padd")
    int checkAdd(@RequestBody Check check);
}
